<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" xml:lang="es" lang="es">
<head profile="">
   <meta http-equiv="X-UA-Compatible" content="IE=10, IE=9, IE=8,chrome=IE7,chrome=IE6"/>

<title>
  
   <?=$title ?> - <?=$subtitle ?> | <?=SITE_NAME?>
  
</title>

<base href="<?=BASE_URL?>">
<link rel="shortcut icon" href="favicon.ico">
    
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store"/>
<meta http-equiv="Expires" content="0"/>
<meta http-equiv="Pragma" content="no-cache, must-revalidate, no-sztore"/>

<!-- Robots -->
<meta name="robots" content="index,follow">
<meta name="robots" content="noodp,noydir"> 
<meta name="googlebot" content="index,follow"> 

<meta name="language" content="es">   

<meta name="DC.title" content="<?=SITE_NAME?>: <?=$title ?> - <?=$subtitle ?>" />
<!-- meta: Title -->

<meta name="title" content="<?=$title ?>: <?=$subtitle ?>" />


<!-- meta: Description -->
<meta name="description" content="<?=$description ?> " />


<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?=BASE_URL?>rss" />	
<link rel="alternate" type="text/xml" title="RSS .92" href="<?=BASE_URL?>rss" />

<!-- meta: Keywords -->

<meta name="keywords" content="<?=$keywords ?>" />

<link rel="canonical" href="<?=current_url()?>" />

<!-- meta: Bookmark-->
<link rel="bookmark" href="<?=current_url()?>" />

<!-- Update your html tag to include the itemscope and itemtype attributes -->
<html itemscope itemtype="http://schema.org/Event">

<!-- Add the following three tags inside head -->
<meta itemprop="name" content="<?=$title ?>: <?=$subtitle ?>">
<meta itemprop="description" content="<?=$description ?>">

<!-- analytics -->
<script type="text/javascript">

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-40200522-1', 'revista-ooorale.com.mx');
  ga('send', 'pageview');

</script>
<!--// FIN analytics -->


<!--[if IE]> 
<script type="text/javascript">
    function noError(){return true;}
    window.onerror = noError;	
    
</script>
<![endif]-->

<!-- CSS-->
<link rel="stylesheet" href="./css/global.css" type="text/css" />
<link rel="stylesheet" href="./css/merge.css" type="text/css" />


<!--//CSS-->

<!-- JAVASCRIPT-->
<script type="text/javascript" src="./js/plugins/headjs.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/plugins/jquery/jquery.form.js" type="text/javascript"></script>
<script src="js/plugins/jquery/jquery.cookies.2.2.0.min.js" type="text/javascript"></script>
<script src="js/plugins/fancybox/jquery.fancybox.js" type="text/javascript"></script>

<script src="js/validate/jquery.validate-rules.js" type="text/javascript"></script>
<script src="js/validate/jquery.validate.js" type="text/javascript"></script>
<script src="js/login.js" type="text/javascript"></script>
<script type="text/javascript" src="./js/global.js"></script>
<!--//JAVASCRIPT-->



<!-- Social Networks-->
   <!-- Social Networks : FB-->
   <div id="fb-root"></div>
   <script>
   (function(d, s, id) {
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) return;
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/es_LA/all.js#xfbml=1";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
   </script>
   
   <!-- Social Networks : G-->
   <script type="text/javascript">
     window.___gcfg = {lang: 'es-419'};
   
     (function() {
       var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
       po.src = 'https://apis.google.com/js/plusone.js';
       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
     })();
   </script>
   
   <!-- Social Networks : TW-->
   <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

<!--// Social Networks-->
</head>

<body>
   <div class="ads">
       
       <div class="content">
        <?= (isset($publicidadheader1->adsense)) ? $publicidadheader1->adsense : ""; ?> 
       </div>
       
       <div class="side">
        <?= (isset($publicidadheader2->adsense)) ? $publicidadheader2->adsense : ""; ?> 
       </div>
       
   </div>
      
   <div class="site">
       <script type="text/javascript" >
           $(document).ready(function() {
               $(".fancybox").fancybox({
                   maxWidth	: 700,
                   maxHeight	: 300,
                   fitToView	: false,
                   width       : '70%',
                   height	: '70%',
                   autoSize	: false,
                   closeClick	: false,
                   openEffect	: 'none',
                   closeEffect	: 'none'
               });
               //$('.fancybox').fancybox();
               $('.fancybox_password').fancybox({
                   'afterClose': function() { parent.location.href="http://revista-ooorale.com.mx"; ; } 
               });
               
               
               var formulario = $('#sesion-form').attr('name');
               
               if(formulario == 's_c'){ sesionIniciada(); }
               if(formulario == 's_i'){ sesionCerrada(); }
               
               $('#sesion-ing').click(function(e){
                   e.preventDefault();
                   var valor = $('#sesion-ing').attr('value');
                   
                    if(valor == 'X Cerrar Sesión'){
                        $('.showname_session').css({
                            visibility: 'hidden'
                        });
                        document.location.href='./index.php/login/logout';
                    }
                   //$('#sesion').hide();
                   if( valor == 'X Cerrar'){
                       $('#sesion').animate({
                           height: '0px',
                           padding: '0px 10px'
                       },100,function(){
                           $('#sesion-ing').attr('value','▼ Ingresar');
                           $('#sesion-ing').removeClass('sesion-ingreso2').addClass('sesion-ingreso');

                       });
                       
                   } else {
                       $('#sesion').animate({
                           height: '20px', 
                           padding: '5px 10px'
                       },100,function(){
                           $('#sesion-ing').attr('value','X Cerrar');
                           $('#sesion-ing').removeClass('sesion-ingreso').addClass('sesion-ingreso2');
                       });
                   }
                   var visibilidad = $('#sesion').css('visibility');
                   if ( visibilidad == 'hidden' ) {
                       $('#sesion').css({
                           visibility: 'visible',
                           height: '20px'
                       });
                       
                   } else {
                       $('#sesion').css({
                           visibility: 'hidden',
                           height: '0px'
                       });
                   }
               });	
               
               
               
           });
           
           
           
       </script>
       <header>
           <nav class="menu">
               <a href="<?= BASE_URL ?>">
                   <div class="logo"></div>  
               </a>
            
               <div class="top-menu">
                   <ul class="top-menu-social">
                       <li>SÍGUENOS EN: </li>
                       <li>
                           <a target="_blank" href="http://es-es.facebook.com/pages/Revista-Ooorale-Oficial/149662491782034">
                               <img src="./img/menu/facebook.png" >
                           </a>
                       </li>
                       <li>
                           <a href="https://twitter.com/RevistaOoorale">
                               <img src="./img/menu/twitter.png" >
                           </a>
                       </li>         
                   </ul>
                
                   <ul class="top-menu-session">
                       <!--<li id="start_session"><a href="">Iniciar Sesión</a></li>-->
                       <? if (!$session) { ?>
                           <li>                
                               <input style="background-color: transparent;border: none;color: white;"type="button" id="sesion-ing" class="sesion-ingreso" value="▼ Ingresar">
                           </li>
                           <li>|</li>
                           <li>
                               <a id="fancybox-frame" href="./index.php/suscripciones/registro" class="fancybox fancybox.iframe">Se Parte de la Banda</a>
                           </li>
                       <? } else { ?>
                           <li class="showname_session">
                               <?=$session->name;?>
                           </li>
                           <li>                
                               <input style="background-color: transparent;border: none;color: white;"type="button" id="sesion-ing" class="sesion-ingreso" value="▼ Ingresar">
                           </li>
                       <? } ?>
                   </ul>
               </div>
               <div id="sesion" style="visibility: hidden;font-size: 10px;height:0px;background-color: black; ">
                   <? if (!$session) { ?>
                       <form action="./index.php/login" method="post" id="sesion-form" name="s_i">
                           <label>Tu Correo Electrónico</label>
                           <input type="text" name="email" id="cUser"/>
                           <label>Contraseña</label>
                           <input type="password" name="pass" id="pUser"/>
                           <input type="submit" value="Iniciar Sesión" />
                           <a href="./index.php/home/passwordOlvidado" class="fancybox fancybox.iframe">¿Olvidó su Contraseña?</a>
                       </form>
                   <? } else { ?>
                       <form action="./index.php/login" method="post" id="sesion-form" name="s_c">
                           <label>Tu Correo Electrónico</label>
                           <input type="text" name="email" id="cUser"/>
                           <label>Contraseña</label><input type="password" name="pass" id="pUser"/>
                           <input type="submit" value="Iniciar Sesión" />
                           <a href="./index.php/home/passwordOlvidado" class="fancybox fancybox.iframe">¿Olvidó su Contraseña?</a>
                       </form>
                   <? } ?>
               </div>
               <ul class="menu-items">
                   <a href="<?= BASE_URL ?>">
                       <li class="inicio">
                           <div class="menu-title">Inicio</div>
                       </li>
                   </a>
                
                   <a href="./canal/84">
                       <li class="banda_oorale">
                           <div class="menu-title">Grupero</div>
                       </li>
                   </a>
                
                   <a href="./videos/1">
                       <li class="cachondamedia">
                           <div class="menu-title">Cachondamedia</div>
                       </li>
                   </a>
                
                   <a href="./canal/65">
                       <li class="farandula">
                           <div class="menu-title">Farándula</div>
                       </li>
                   </a>
                
                   <a href="./canal/82">
                       <li class="mundo_erotico">
                           <div class="menu-title">Mundo Erótico</div>
                       </li>
                   </a>
                
               </ul>
           </nav>
       </header>
       <style>
           .sesion-ingreso2 {
               border: 0;
               cursor: pointer;
               padding: 2px 10px;
               font-family: Arial, Helvetica, sans-serif;
               font-size: 12px;
               color: #FFF;
               background-color: #ec2527;
               text-decoration: none;
               border-radius: 0 0 15px 0;
               -moz-border-radius: 0 0 15px 0;
               -webkit-border-radius: 0 0 15px 0;
               -ms-border-radius: 0 0 15px 0;
               -o-border-radius: 0 0 15px 0;
           }
       </style>
 


